namespace BingoServerCommon.DbModel
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("bingo_data.players")]
    public partial class player
    {
        [Column(TypeName = "uint")]
        public long id { get; set; }

        [StringLength(36)]
        public string guid { get; set; }

        [StringLength(32)]
        public string account { get; set; }

        [StringLength(32)]
        public string nickname { get; set; }

        [StringLength(255)]
        public string portrait { get; set; }

        public int? exp { get; set; }

        [StringLength(32)]
        public string password_hash { get; set; }

        [StringLength(32)]
        public string password_salt { get; set; }

        [StringLength(16)]
        public string cellphone { get; set; }

        [StringLength(32)]
        public string email { get; set; }

        public int? admission_ticket_num { get; set; }

        public int? props_num { get; set; }

        public int? jigsaw_1_num { get; set; }

        public int? jigsaw_2_num { get; set; }

        public int? vip_point { get; set; }

        [Column(TypeName = "uint")]
        public long? bingo_times { get; set; }

        [Column(TypeName = "uint")]
        public long? cards_played { get; set; }

        [Column(TypeName = "uint")]
        public long? admission_ticket_used { get; set; }

        public DateTime? first_login { get; set; }

        [Column(TypeName = "uint")]
        public long? puzzles_completed { get; set; }
    }
}
